Tristan Van Berkom [Mon, 5 Apr 2010 21:57:06 +0000 (17:57 -0400)]
Fixed do_size_request() to start with a 0 base requisition instead of -1
Tristan Van Berkom [Sun, 4 Apr 2010 20:38:36 +0000 (16:38 -0400)]
Changed initial values for requisition from -1 to 0.
When doing size-requests and get_natural_size() calls, use 0 as
the base value instead of -1, because size_request code assumes
that widget->requesition is initialized at 0.
Tristan Van Berkom [Sun, 4 Apr 2010 20:37:06 +0000 (16:37 -0400)]
Fixed GtkBox to not call get_desired_size() on a child when no child is present.
Tristan Van Berkom [Sun, 4 Apr 2010 01:37:42 +0000 (21:37 -0400)]
Making function private in gtktreeviewcolumn to pass the abi test.
Tristan Van Berkom [Sun, 4 Apr 2010 01:35:18 +0000 (21:35 -0400)]
Refixed merge conflicts for GTK_WIDGET_MAPPED/GTK_WIDGET_VISIBLE
Tristan Van Berkom [Sun, 4 Apr 2010 00:43:39 +0000 (20:43 -0400)]
Fixed internal native layout algorythm wrt size-request singals/implementations.
Because "size-request" signal can be handled by signal connections as well
as by third party derived classes it is necessary to always fire the
"size-request" signal for every recalculation of the widget requisition,
now gtksizegroup.c:do_size_request() fires the signal first and allows it
to overflow the minimum/natural sizes returned by extended layout
implementations.
GtkWidget->get_natural_size() is now left assigning default -1 values to
ensure they both get overridden by the size-request handling.
Tristan Van Berkom [Sun, 4 Apr 2010 00:40:50 +0000 (20:40 -0400)]
Fixed extended layout implementors to not call ->get_desired_size() directly
Getting the desired size of a GtkWidget must always be done with
gtk_widget_get_desired_size() and never with
gtk_extended_layout_get_desired_size() directly as the former passes
through size group logic and updates the widget->requisition cache.
Tristan Van Berkom [Sun, 4 Apr 2010 00:36:13 +0000 (20:36 -0400)]
Removed casing of GTK_IS_EXTENDED_LAYOUT() from GtkViewport.
Tristan Van Berkom [Sun, 4 Apr 2010 00:34:43 +0000 (20:34 -0400)]
Fixed invalid pointer access in gtk_tree_view_column_get_desired_size()
Tristan Van Berkom [Sun, 4 Apr 2010 00:30:14 +0000 (20:30 -0400)]
Partially fixed GtkTreeview for extended layout
Removed the size_request() handling on the class and calculate
minimum size from get_desired_size(); base the natural width on
either the minimum of column headers, or a greater natural request
of the columns renderers.
Tristan Van Berkom [Sun, 4 Apr 2010 00:09:18 +0000 (20:09 -0400)]
Applied Jan Arne Petersen's patch for GtkScrolledWindow
Applied patch to add height-for-width/width-for-height suppot
to GtkScrolledWindow plus modifications to use gtk_widget_get_desired_size()
to query children sized instead of directly calling the layout api, plus
removed the ->size_request() implementation interfering with the mess.
Tristan Van Berkom [Sat, 3 Apr 2010 23:48:14 +0000 (19:48 -0400)]
Fixed GtkCellRendererText invalid pointer access.
Fixed get_desired_size() to not access parameters when NULL and
also not to access priv->object if it hasnt yet been assigned.
Jan Arne Petersen [Thu, 1 Apr 2010 09:53:41 +0000 (11:53 +0200)]
Take extended layout into account in viewport
Make sure the right height is used in GtkViewPort.
Matthias Clasen [Thu, 1 Apr 2010 14:07:11 +0000 (10:07 -0400)]
Don't use gio-unix on win32
We only need gio-unix when building the x11 backend.
Reported by Yevgen Muntyan in bug 614540.
Inaki Larranaga Murgoitio [Wed, 31 Mar 2010 10:22:17 +0000 (12:22 +0200)]
Updated Basque language
Inaki Larranaga Murgoitio [Sat, 27 Mar 2010 12:47:55 +0000 (13:47 +0100)]
Updated Basque language
Inaki Larranaga Murgoitio [Sat, 27 Mar 2010 12:27:40 +0000 (13:27 +0100)]
Updated Basque language
Kenneth Nielsen [Tue, 30 Mar 2010 22:21:05 +0000 (00:21 +0200)]
Updated Danish translation
Runa Bhattacharjee [Tue, 30 Mar 2010 10:23:06 +0000 (15:53 +0530)]
Updated Bengali India Translation
Runa Bhattacharjee [Tue, 30 Mar 2010 09:36:26 +0000 (15:06 +0530)]
Updated Bengali India Translation
Jordi Serratosa [Mon, 29 Mar 2010 18:27:08 +0000 (20:27 +0200)]
Fixes to Catalan translation
Tristan Van Berkom [Mon, 29 Mar 2010 17:27:40 +0000 (13:27 -0400)]
Fixed possible devision by zero in size negotiations
Fixed GtkToolItemGroup to avoid deviding by zero when all children
are invisible or there are no children. bgo #613974.
Tristan Van Berkom [Mon, 29 Mar 2010 17:22:18 +0000 (13:22 -0400)]
Added missing default events in realize() implementations
Added gtk_widget_get_events() to the event masks declared by
GtkToolPalette & GtkToolItemGroup.
Tristan Van Berkom [Mon, 29 Mar 2010 17:16:01 +0000 (13:16 -0400)]
Added missing break statement to mutator: gtk_tool_item_group_set_property()
Benjamin Otte [Mon, 29 Mar 2010 14:26:14 +0000 (16:26 +0200)]
Fix error case in filesystem model
We should not unref the model here, it might not even exist anymore.
Instead check if it exists and only use it if it does.
The unref was leftover from a previous fix in
ba9f53397ff0b86ad56166c7fc91b4d499f7aefc.
Spotted by Matthias Clasen in
https://bugzilla.gnome.org/show_bug.cgi?id=614099
David Planella [Mon, 29 Mar 2010 07:22:08 +0000 (09:22 +0200)]
Updated Catalan translation with a couple of fixes
David Planella [Mon, 29 Mar 2010 07:16:43 +0000 (09:16 +0200)]
Updated Catalan translation
Jamil Ahmed [Sun, 28 Mar 2010 09:49:58 +0000 (15:49 +0600)]
Updated Bengali translation
Christian Dywan [Sun, 28 Mar 2010 02:21:47 +0000 (04:21 +0200)]
Fix a misspelling in gtk_cell_view_new_with_markup
This fixes bug 613887.
Ask H. Larsen [Sat, 27 Mar 2010 23:15:48 +0000 (00:15 +0100)]
Updated Danish translation
Maxim V. Dziumanenko [Sat, 27 Mar 2010 12:42:07 +0000 (14:42 +0200)]
Updated Ukrainian translation
Maxim V. Dziumanenko [Sat, 27 Mar 2010 12:29:08 +0000 (14:29 +0200)]
Updated Ukrainian translation
Jamil Ahmed [Sat, 27 Mar 2010 12:10:02 +0000 (18:10 +0600)]
Updated Bengali translation
Jamil Ahmed [Sat, 27 Mar 2010 12:02:54 +0000 (18:02 +0600)]
Updated Bengali translation
Hiroyuki Ikezoe [Tue, 22 Dec 2009 01:12:29 +0000 (10:12 +0900)]
[directfb] Fix compile error on DirectFB backend.
Add a stub for gdk_keymap_map_virtual_modifiers.
Hiroyuki Ikezoe [Mon, 21 Dec 2009 06:34:06 +0000 (15:34 +0900)]
Use g_value_take_string to avoid redundant invoking g_free.
Javier Jardón [Thu, 25 Mar 2010 13:51:40 +0000 (14:51 +0100)]
Fix compilation warning: Use GtkWidget instead GtkMenuItem
Matthias Clasen [Thu, 25 Mar 2010 04:55:15 +0000 (00:55 -0400)]
Fix a 64bit issue
Thank you libpng, for typedef unsigned long png_uint_32.
Matthias Clasen [Tue, 23 Mar 2010 15:08:28 +0000 (11:08 -0400)]
Add notes about gobject-introspection
Matthias Clasen [Tue, 23 Mar 2010 14:24:51 +0000 (10:24 -0400)]
Bump version to 2.20.1
Matthias Clasen [Tue, 23 Mar 2010 14:18:29 +0000 (10:18 -0400)]
2.20.0
Miloš Popović [Tue, 23 Mar 2010 09:39:34 +0000 (10:39 +0100)]
Updated Serbian translations
Matthias Clasen [Tue, 23 Mar 2010 04:21:24 +0000 (00:21 -0400)]
Bump required version of glib in INSTALL.in, too
Matthias Clasen [Tue, 23 Mar 2010 03:30:00 +0000 (23:30 -0400)]
Set version to 2.20.0
Matthias Clasen [Tue, 23 Mar 2010 03:15:52 +0000 (23:15 -0400)]
Another small doc cleanup
Matthias Clasen [Tue, 23 Mar 2010 03:10:38 +0000 (23:10 -0400)]
Minor doc cleanup
Matthias Clasen [Mon, 22 Mar 2010 22:25:49 +0000 (18:25 -0400)]
Updates
Wouter Bolsterlee [Mon, 22 Mar 2010 18:22:16 +0000 (19:22 +0100)]
Dutch translation updated by Tino Meinen
Sjoerd Simons [Mon, 22 Mar 2010 18:11:05 +0000 (14:11 -0400)]
Prevent the destruction of the menu label on page removal
In certain cases the menu label of a notebook page will be reused after the
page was removed from the notebook, for instance when a page is dragged from
one notebook to another. For such cases make sure that the menu label isn't
destroyed as part of destroying the menu item it was in.
Matthias Clasen [Mon, 22 Mar 2010 17:02:24 +0000 (13:02 -0400)]
Add a dependency for Gtk-2.0.gir on Gdk-2.0.gir
Another parallel build fix, see bug 610946.
Damien Lespiau [Mon, 22 Mar 2010 16:53:18 +0000 (12:53 -0400)]
introspection: Fix parallel builds
One needs to add an explicit dependency between the gir files and the
.la libtool wrapper as this dependency is not added automatically by
Makefile.introspection. Not adding these breaks parallel builds as make
does not wait for the .la to be generated before launching g-ir-scanner.
Inaki Larranaga Murgoitio [Mon, 22 Mar 2010 13:22:22 +0000 (14:22 +0100)]
Updated Basque language
Clytie [Mon, 22 Mar 2010 12:48:44 +0000 (23:18 +1030)]
Updated Vietnamese translation
Clytie [Mon, 22 Mar 2010 12:48:03 +0000 (23:18 +1030)]
Updated Vietnamese translation
Inaki Larranaga Murgoitio [Mon, 22 Mar 2010 12:08:52 +0000 (13:08 +0100)]
Updated Basque language
Sweta Kothari [Mon, 22 Mar 2010 07:34:22 +0000 (13:04 +0530)]
Updated Gujarati translations
Sweta Kothari [Mon, 22 Mar 2010 07:01:13 +0000 (12:31 +0530)]
Updated Gujarati Translations
Daniel Nylander [Sun, 21 Mar 2010 20:12:28 +0000 (21:12 +0100)]
Updated Swedish translation
Daniel Nylander [Sun, 21 Mar 2010 11:29:02 +0000 (12:29 +0100)]
Updated Swedish translation
Daniel Nylander [Sun, 21 Mar 2010 11:02:57 +0000 (12:02 +0100)]
Updated Swedish translation
Tommi Vainikainen [Sat, 20 Mar 2010 19:55:51 +0000 (21:55 +0200)]
Updated Finnish translation
Chao-Hsiung Liao [Sat, 20 Mar 2010 12:11:07 +0000 (20:11 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Matthias Clasen [Sat, 20 Mar 2010 03:20:38 +0000 (23:20 -0400)]
Avoid spurious notifications from GtkEntry
Using gtk_entry_set_buffer() in dispose() causes problematic
notifications, so just get rid of the buffer manually. See bug 613241.
Tomas Bzatek [Fri, 19 Mar 2010 13:40:11 +0000 (14:40 +0100)]
search: update for tracker 0.8 API
Tracker 0.8 series (and late 0.7.xx) introduces new API based on SPARQL
query language. The queries here use fulltext search, just like with
with previous tracker versions. Old tracker 0.6 support is still maintained.
Fabrício Godoy [Fri, 19 Mar 2010 02:45:23 +0000 (23:45 -0300)]
Updated Brazilian Portuguese Translation
A S Alam [Fri, 19 Mar 2010 02:37:20 +0000 (08:07 +0530)]
Completed Punjabi Translation by A S Alam
Dumitru Mișu Moldovan [Thu, 18 Mar 2010 20:33:16 +0000 (22:33 +0200)]
Updated Romanian translation
Mattias Põldaru [Thu, 18 Mar 2010 14:27:02 +0000 (16:27 +0200)]
Estonian translation updated
Matthias Clasen [Thu, 18 Mar 2010 01:17:38 +0000 (21:17 -0400)]
Make menu scrolling work with auto mnemonics
The menu scrolling code is not robust against menu repositioning so
we have avoid causing unnecessary recalculations of labels in parent
menuitems.
Hiroyuki Ikezoe [Tue, 16 Mar 2010 21:10:18 +0000 (17:10 -0400)]
Fix a tiny documentation typo
Marek Kasik [Wed, 17 Mar 2010 09:14:24 +0000 (10:14 +0100)]
Define httpGetHostname() for CUPS 1.1 and lower
Function httpGetHostname() is in CUPS since version 1.2, that is why we need
its equivalent for lower versions of CUPS (#610176).
Javier Jardón [Tue, 16 Mar 2010 18:16:31 +0000 (19:16 +0100)]
More uses of g_strcmp0
Rafal Luzynski [Sat, 9 Jan 2010 00:15:55 +0000 (01:15 +0100)]
Use g_strcmp0 where it makes sense
Hiroyuki Ikezoe [Tue, 16 Mar 2010 17:01:18 +0000 (13:01 -0400)]
Don't get settings unless we need them
Pointed out in bug 613028.
Matthias Clasen [Tue, 16 Mar 2010 16:35:13 +0000 (12:35 -0400)]
Don't crash in DND when the X server doesn't support SHAPE
Reported in bug 612768
Matthias Clasen [Mon, 15 Mar 2010 13:18:47 +0000 (09:18 -0400)]
Require a new-enough glib
Jan Arne Petersen [Thu, 11 Mar 2010 14:40:55 +0000 (15:40 +0100)]
Fix notify::label emmision in GtkMenuItem
Emit notify::label in GtkMenuItem also when label is changed through GtkAction.
Refactor GtkMenuItem and remove duplicated code for GtkLabel creation. Reset
the accel-widget back to the GtkMenuItem itself when there is no action related
to the GtkMenuItem anymore.
Add test for notify::label emmisions.
Fixes bug 612574 - GtkMenuItem does not emit notify::label when label is
changed through GtkAction.
Tristan Van Berkom [Sun, 14 Mar 2010 19:23:55 +0000 (15:23 -0400)]
Refixed patch for bug 612505.
New patch makes sure to update the display even when
the GtkEntry's buffer is set to NULL, it also breaks the
reference to the buffer in ->dispose() instead of ->finalize().
Matthias Clasen [Sun, 14 Mar 2010 20:11:48 +0000 (16:11 -0400)]
Improve the behaviour of automatic mnemonics
With this change, key events continue to go to an open menu even
when the pointer is moved over a non-selectable menuitem. The mnemonics
are shown and hidden accordingly.
Matthias Clasen [Sun, 14 Mar 2010 13:03:13 +0000 (09:03 -0400)]
Update release notes
Add a warning about the change in GtkBuilders id/name handling.
Colin Walters [Sat, 13 Mar 2010 23:10:25 +0000 (18:10 -0500)]
[startup notification] Set APPLICATION_ID
http://lists.freedesktop.org/archives/xdg/2010-February/011321.html
In addition to ICON, BINARY_NAME etc., it's very helpful if launcher
programs include the name of the .desktop file they're launching.
This is APPLICATION_ID.
https://bugzilla.gnome.org/show_bug.cgi?id=611118
Fran Diéguez [Sat, 13 Mar 2010 20:04:38 +0000 (21:04 +0100)]
Update Galician translation
Luca Ferretti [Sat, 13 Mar 2010 14:42:07 +0000 (15:42 +0100)]
Updated Italian translation
Matthias Clasen [Sat, 13 Mar 2010 05:47:59 +0000 (00:47 -0500)]
Fix tests
Luca Ferretti [Fri, 12 Mar 2010 21:52:01 +0000 (22:52 +0100)]
Updated Italian translation
Matthias Clasen [Fri, 12 Mar 2010 20:58:11 +0000 (15:58 -0500)]
Recompute label contents when the buffer changes
Also reset cursor positions to avoid assertions.
This fixes bug 612505, patch by Tristan Van Berkom.
Matthias Clasen [Fri, 12 Mar 2010 20:52:36 +0000 (15:52 -0500)]
Fix gdk_window_set_icon_name
A typo kept this from working on toplevel windows.
Reported in bug 612346.
Matthias Clasen [Fri, 12 Mar 2010 04:07:49 +0000 (23:07 -0500)]
updates
Christian Dywan [Fri, 12 Mar 2010 20:04:50 +0000 (21:04 +0100)]
Remove most G_OBJECT casts in the tutorial
This fixes bug 605333.
Christian Dywan [Fri, 12 Mar 2010 20:03:35 +0000 (21:03 +0100)]
Reword explanation of delete-event and destroy
Christian Dywan [Fri, 12 Mar 2010 20:02:42 +0000 (21:02 +0100)]
Spell delete-event with hyphen and don't cast to G_OBJECT
Christian Dywan [Fri, 12 Mar 2010 16:50:42 +0000 (17:50 +0100)]
Improve docs of gtk_notebook_set_tab_label_packing
Use the term tab label rather than bookmark and point out
that packing type is deprecated.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=612575
Tor Lillqvist [Fri, 12 Mar 2010 09:44:32 +0000 (11:44 +0200)]
Check for __MINGW64__ and not __MINGW64
Should fix bug #612308.
Javier Jardón [Fri, 5 Mar 2010 18:22:12 +0000 (19:22 +0100)]
Improve GTK_WIDGET_FLAGS() deprecation documentation
Also, use GTK_OBJECT_FLAGS() instead.
Note that some internal code still uses GTK_WIDGET_FLAGS().
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Christian Dywan [Thu, 11 Mar 2010 14:26:06 +0000 (15:26 +0100)]
Fix definition of GTK_VOLUME_BUTTON_CLASS cast
There is an extra 'e' there.
Alan Knowles [Wed, 10 Mar 2010 14:21:52 +0000 (22:21 +0800)]
Fix introspection on return value transfer for gtk_clipboard_get*
ownership transfer set to none for clipboard get methods
Alan Knowles [Wed, 10 Mar 2010 14:13:53 +0000 (22:13 +0800)]
Fix gtk_text_tag_table_lookup transfer introspection notes
transfer should be none for return value of gtk_text_tag_table_lookup
Jorge González [Wed, 10 Mar 2010 07:59:18 +0000 (08:59 +0100)]
Updated Spanish translation
Jorge González [Wed, 10 Mar 2010 07:55:17 +0000 (08:55 +0100)]
Updated Spanish translation
David Planella [Tue, 9 Mar 2010 19:01:39 +0000 (20:01 +0100)]
Updated Catalan translation